home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20021006-20030409 / 000157_dbecker@cpicorp.com_Thu Dec 5 16:54:33 EST 2002.msg < prev    next >
Text File  |  2020-01-01  |  3KB  |  68 lines

  1. Article: 13938 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!arclight.uoregon.edu!newshub.sdsu.edu!newspeer.cts.com!feed2-in.uncensored-news.com!stl-feed.news.verio.net!news.cpicorp.com!not-for-mail
  3. From: Derek Chen-Becker <dbecker@cpicorp.com>
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: Help with stdout and stderr for kermit95
  6. Date: Thu, 05 Dec 2002 15:36:33 -0600
  7. Organization: CPI Corporation
  8. Lines: 43
  9. Message-ID: <asogrg$sdk$1@cpimail.cpicorp.com>
  10. References: <aso6v9$kr9$1@cpimail.cpicorp.com> <aso84e$16t$1@watsol.cc.columbia.edu> <aso8ff$1t3$1@cpimail.cpicorp.com> <aso9fh$2m5$1@watsol.cc.columbia.edu>
  11. NNTP-Posting-Host: dbecker-ld.cpicorp.com
  12. Mime-Version: 1.0
  13. Content-Type: text/plain; charset=us-ascii; format=flowed
  14. Content-Transfer-Encoding: 7bit
  15. X-Trace: cpimail.cpicorp.com 1039124145 29108 131.100.250.5 (5 Dec 2002 21:35:45 GMT)
  16. X-Complaints-To: abuse@cpicorp.com
  17. NNTP-Posting-Date: Thu, 5 Dec 2002 21:35:45 +0000 (UTC)
  18. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
  19. X-Accept-Language: en-us, en
  20. In-Reply-To: <aso9fh$2m5$1@watsol.cc.columbia.edu>
  21. X-Enigmail-Version: 0.70.0.0
  22. X-Enigmail-Supports: pgp-inline, pgp-mime
  23. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13938
  24.  
  25. Frank da Cruz wrote:
  26. > As for searching the \&@[] array, it might be better to explain what your
  27. > goal is and we can suggest ways of achieving it.
  28. > - Frank
  29.  
  30. I appreciate your help on this. Basically, I'm written a hotfolder 
  31. script using kermit. The client is a windows machine and the server is a 
  32. unix box running IKSD out of inetd. The script takes a command line 
  33. argument of a configuration file that it reads to determine the remote 
  34. server, username, password, and the location of various folders used for 
  35. the transfer. I originally developed the script on a unix box, so I 
  36. didn't need to specify the "-# 64" arg to get output on stdout, so I 
  37. figured for k95 I just need to shift my index in \&@ over by two. Is 
  38. there a better way to get command line arguments?
  39.  
  40. On a not completely unrelated note, I was hoping to put purge 
  41. functionality into the hotfolder script. If a file can't be sent for 
  42. more that 24 hours, I would like to move it from the hot folder to a 
  43. "failed" folder. Is there a way in kermit to get a listing of files in a 
  44. way that I could determine which files are older than "x" hours? The 
  45. directory command doesn't have time specifiers, and I couldn't find a 
  46. function that would give me a file's last modified time based on a 
  47. filename. I would really like to keep it inside the kermit script to 
  48. simplify the external scheduling program.
  49.  
  50. Thanks,
  51.  
  52. Derek
  53.  
  54. -- 
  55. ----------------------------------------------------------------------
  56. Derek Chen-Becker
  57. Senior Network Engineer
  58. CPI Corp, Inc.
  59. 1706 Washington Ave
  60. St. Louis, MO 63103
  61. 314-231-1575 x6014
  62. dbecker@cpicorp.com
  63. PGP Key available from public key servers
  64. Fingerprint: 1C34 D81E D8A0 641D 6C8C  E952 3B15 693F 9184 BC58
  65. ----------------------------------------------------------------------
  66.  
  67.